<%@ include file="base.jsp" %>
<%@ page language="java"%>
<%@ page import="net.amsoft.iservice.icontact.util.IContactConstants" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script language="javascript" src="js/email.js"></script>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<logic:present name="PreviewForm" scope="request">
		<logic:notEmpty name="PreviewForm" property="tags" >
			<meta http-equiv="keywords"	content='<bean:write name="PreviewForm"	property="tags" />' >
		</logic:notEmpty>
</logic:present>
<title><bean:message key="title.contact" /></title>
<link rel="stylesheet" type="text/css" href="styleSheets/iservices.css" />

</head>

<body>
<logic:present name="PreviewForm" scope="request">
	<center>
	<table cellspacing=25 border=0 cellpadding=0 width="800">
		<%@ include file="leftMenu.jsp" %>
		<td background="<%=imagePath%>/grey-bg.gif" width="605" valign="top">
			<form	action="" method="post" >
				<table border="0" cellspacing=0 cellpadding=0 width=100%>
					<tr>
						<td width="20px"></td>	
						<td colspan="3" class="bigTitle" height="56">
							<bean:message key="label.contact" />
							<font class="blue-bigtext" >
								&nbsp;<bean:write name="PreviewForm" property="displayName" scope="request" />
								(<bean:write name="PreviewForm" property="synonym" scope="request" />) 
							</font>
						</td>
					</tr>
					<tr><td colspan="4"></td></tr>
					<tr>
						<td width="20px"></td>					
						<td class="error-text" colspan="2"> <html:errors/> </td>
						<td width="20px"></td>						
					</tr>
					<tr>
						<td width="20px"></td>
						<td colspan="2" class="blue-smalltext" colspan="2"><bean:write
							name="PreviewForm" property="displayMsg" /></td>
						<td width="20px"></td>
					</tr>
					<tr>
						<td height="12px" colspan="2"></td>
					</tr>
					<tr>
						<td width="20px"></td>
						<td height="27px" class="blue-smalltext" align="right">
							<b><bean:message key="label.useriname" /><logic:equal value="1" name="PreviewForm" property="verificationType" scope="request">*</logic:equal></b></td>
						<td height="27px" class="black-smalltext"><input type="text" maxlength="255" size="28" class="textbox"></td>
						<td width="20px"></td>
					</tr>
	
					<tr>
						<td width="20px"></td>					
						<td height="27px" class="blue-smalltext" align="right">
							<b><bean:message key="label.email" /><logic:equal value="2" name="PreviewForm" property="verificationType" scope="request">*</logic:equal></b></td>
						<td height="27px" class="black-smalltext"><input type="text" maxlength="255" size="28" class="textbox"></td>
						<td width="20px"></td>
					</tr>

					<tr>
						<td width="20px"></td>					
						<td height="27px" width="50" class="blue-smalltext" align="right">
							<b><bean:message key="label.name" />*</b></td>
						<td height="27px" class="black-smalltext"><input type="text" maxlength="255" size="28" class="textbox"></td>
						<td width="20px"></td>							
					</tr>
					<tr>
						<td colspan="4" height="8px" ></td>
					</tr>
	
					<tr>
						<td width="20px"></td>				
						<td class="blue-smalltext" align="right" valign="top"><b><bean:message key="label.msg" />* </b></td>
						<td ><textarea rows="12" cols="45" class="textarea-smalltext"></textarea></td>
					</tr>
					<tr>
						<td colspan="4" height="12px" ></td>
					</tr>
					<tr>
						<td colspan="4" height="12px" ></td>
					</tr>
					<tr>
						<td colspan="2" height="12px" ></td>						
						<td height="20px" class="black-smalltext">
							&nbsp;&nbsp; 
							<img border="0" src="<%=imagePath%>/button-submit.jpg" />
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							<img border="0" src="<%=imagePath%>/button-cancel.jpg" />
						</td>
						<td height="12px" ></td>							
					</tr>
					<tr>
						<td colspan="4" height="8px" ></td>
					</tr>
					<tr>
						<td height="12px" ></td>							
						<td colspan="2" class="blue-smalltext" >* - Required Fields</td>
						<td height="12px" ></td>							
					</tr>
				</table>
			</form>
		</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td ><font class="black-xsmalltext"></font></td>
		</tr>
	</table>
	</center>
</logic:present>
<logic:notPresent name="PreviewForm" scope="request">
		<logic:redirect forward="CheckLogin"  />
</logic:notPresent>
</body>
</html>
